/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.sys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.common.collect.Lists;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * 学生德育档案Entity
 * @author 于昭龙
 * @version 2022-02-11
 */
@Data
public class StudentMoreduMain extends DataEntity<StudentMoreduMain> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="姓名", align=2, sort=7)
	private String name;		// 姓名
	@ExcelField(title="学院", align=2, sort=8)
	private String institute;		// 学院
	@ExcelField(title="年级", align=2, sort=9)
	private String grade;		// 年级
	@ExcelField(title="班级", align=2, sort=10)
	private String classe;		// 班级
	@ExcelField(title="学号", align=2, sort=11)
	private String studentId;		// 学号
	@ExcelField(title="当前辅导员", align=2, sort=12)
	private String currentInstructor;		// 当前辅导员
	@ExcelField(title="学籍状态", align=2, sort=12)
	private String state;		// 学籍状态
	@NotNull(message="目前德育分不能为空")
	@ExcelField(title="目前德育分", align=2, sort=13)
	private Integer currentMoraleduPoint;		// 目前德育分
	private Integer max;		// 查询最高德育分
	private Integer min;		// 查询最高德育分
	private String queryAcademicYear;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date startDate;		// 通过开始查询
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date endDate;		// 通过结束查询
	private List<StudentMoreduViceAdd> studentMoreduViceAddList = Lists.newArrayList();		// 子表列表
	private List<StudentMoreduViceSub> studentMoreduViceSubList = Lists.newArrayList();		// 子表列表

	
	public StudentMoreduMain() {
		super();
	}

	public StudentMoreduMain(String id){
		super(id);
	}
}